package leetcode.code0907;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution907 implements IDebug {

	public abstract int sumSubarrayMins(int[] arr);

	@Override
	public void debug1() {
		String str = "[3,1,2,4]";
		int e = 17;
		int r = this.sumSubarrayMins(HelpDebug.str2array3(str));
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug2() {
		String str = "[11,81,94,43,3]";
		int e = 444;
		int r = this.sumSubarrayMins(HelpDebug.str2array3(str));
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug3() {
		String str = "[2,2]";
		int e = 6;
		int r = this.sumSubarrayMins(HelpDebug.str2array3(str));
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug4() {
		// TODO Auto-generated method stub

	}

}
